package com.aclass.xqx.classscreen.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by xqx on 2017/11/18.
 * 老师
 */
@Entity
public class CardTeacher {
    @Id
    private String id;
    private String classname;//班级名称
    @Unique
    private String card_no;//老师卡号
    private String teacher_name;//老师姓名
    @Generated(hash = 1020387760)
    public CardTeacher(String id, String classname, String card_no,
            String teacher_name) {
        this.id = id;
        this.classname = classname;
        this.card_no = card_no;
        this.teacher_name = teacher_name;
    }
    @Generated(hash = 116412510)
    public CardTeacher() {
    }
    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getClassname() {
        return this.classname;
    }
    public void setClassname(String classname) {
        this.classname = classname;
    }
    public String getCard_no() {
        return this.card_no;
    }
    public void setCard_no(String card_no) {
        this.card_no = card_no;
    }
    public String getTeacher_name() {
        return this.teacher_name;
    }
    public void setTeacher_name(String teacher_name) {
        this.teacher_name = teacher_name;
    }
   
}
